﻿
namespace Ops.Mpc.ValidationServices.Attributes
{
    public interface IValidationAttribute
    {
        bool Validate(object container, object data, string[] propertyNames);

        string MessageId 
        {
            get;
            set;
        }

        string Message
        {
            get;
            set;
        }

        string FormatMessage(string messageFormat, object container,object data, string name);
    }
}
